'use strict';

stareal
    .controller("MydeerRaidersController", function ($scope, $stateParams, $api, $sce, base64, $state, $alert,localStorageService,$timeout,$lazyLoader) {
        $scope.kind = $stateParams.kind;
        // 加载对应演出种类的内容
// 加载对应演出种类的内容
        var h=$(window).height()-2.5*parseFloat(document.documentElement.style.fontSize)+"px";
        $("#wrapper_container").height(h);
        $scope.hotsmydeerViews = new $lazyLoader("app/celebritys/list", {
            hos:$scope.kind,
        });
        $scope.hotsmydeerViews.nextPage();
        var refresh = function(){
            $state.go('main.mydeerRaiders',{kind:$scope.kind});
        };




        // 热度/时间排序过滤
        $scope.filter = function (kind) {
            $scope.kind = kind;
            refresh();
        }
    });